Get the string value associated with the given key. If there is no value associated with the key, return the defaultVal.